Rtcl\Helpers\Functions D

Total Complexity 904
Dependencies 20
Dependents 122
Total lines 4,754
Lines of code 3,234
Logical lines of code 1,743
Comment lines 870
Methods 200
Properties 0

Methods 200

Method Rating Maintainability Complexity Lines of code
form_field()
D
20
59 173
get_custom_field_html()
D
21
48 199
get_sub_terms_filter_html()
D
28
45 109
update_listing_promotions()
C
32 29 102
dropdown_terms()
C
26
23 181
create_new_user()
B
36 22 71
syncMLListingMeta()
B
41 18 55
sanitize()
B
41 16 56
apply_payment_pricing()
B
38 15 70
upload_item_data()
B
36 14 80
touch_time()
A
36 11 70
rtcl_payment_completed()
A
41 11 56
get_sub_terms()
A
42 11 53
get_page_id()
A
55 13 16
get_user_roles()
A
51 11 24
get_option_item()
A
55 11 17
datetime()
A
50 10 28
get_cf_ids()
A
45 9 41
price()
A
44 9 41
get_listing_attachment_props()
A
42 8 53
create_new_user_username()
A
43 8 50
get_listing_redirect_url_after_edit_post()
A
49 9 31
get_template_part()
A
49 9 31
timezone_string()
A
53 9 23
is_human()
A
52 9 21
get_multilevel_terms_data()
A
47 8 34
add_theme_container_class()
A
54 8 21
get_map_icon_url()
A
55 8 19
get_term_child_id_for_a_post()
S
58 8 15
locate_template()
S
52 7 24
get_price_format()
S
53 7 23
get_cf_data()
S
53 7 21
format_decimal()
S
53 7 19
get_account_menu_items()
S
52 6 23
do_registration_from_listing_form()
S
48 5 34
notice_count()
S
55 6 19
get_term_top_parent_id_for_a_post()
S
58 6 14
update_listing_views_count()
S
53 5 21
get_listing_images()
S
54 5 20
print_notices()
S
54 5 19
get_notices()
S
56 5 18
get_account_menu_item_classes()
S
57 5 16
array_insert_after()
S
59 5 15
current_user_can()
S
60 5 12
updateBlockedUserIds()
S
61 5 11
updateBlockedListingIds()
S
61 5 11
insert_custom_pages()
S
52 4 25
get_cfg_ids()
S
47 3 38
getBlockedUserList()
S
57 4 18
debug()
S
57 4 17
get_favourites_link()
S
56 4 17
getBlockedListingList()
S
57 4 17
is_account_page()
S
65 5 8
is_checkout_page()
S
65 5 8
setcookie()
S
64 5 8
get_single_term_title()
S
59 4 15
get_payment_formatted_price()
S
57 4 15
string_to_bool()
S
76 5 3
string_to_datetime()
S
56 4 15
get_custom_field_ids()
S
59 4 14
listing_feature_thumbnail()
S
59 4 14
get_template()
S
58 4 14
get_ip_address()
S
60 4 13
has_notice()
S
60 4 12
sort_images()
S
61 4 12
get_map_icon_url_by_ad_type()
S
60 4 12
term_has_children()
S
63 4 11
get_raw_referer()
S
62 4 11
add_default_expiry_date()
S
53 3 21
getBlockedListingIds()
S
70 4 5
add_wp_error_notices()
S
68 4 7
set_time_limit()
S
70 4 5
is_enable_map()
S
76 4 3
getBlockedUserIds()
S
70 4 5
get_currency_symbol()
S
65 4 8
dummy_expiry_date()
S
62 4 10
user_can_edit_image()
S
67 4 7
get_admin_email_id_s()
S
59 3 14
get_pages()
S
59 3 14
get_map_data()
S
59 3 14
get_selected_cat()
S
61 3 12
add_notice()
S
60 3 12
get_page_ids()
S
62 3 11
is_external()
S
62 3 11
get_listing_types()
S
62 3 11
get_listings_count_by_taxonomy()
S
55 2 20
get_payment_formatted_price_html()
S
55 2 19
trim_string()
S
63 3 10
clean()
S
68 3 7
get_base_location()
S
63 3 10
remove_query_arg()
S
63 3 10
is_enable_mark_as_sold()
S
67 3 7
get_payment_method_list()
S
64 3 10
get_thousands_separator()
S
66 3 8
format_price_range()
S
71 3 4
get_decimal_separator_both()
S
66 3 8
request()
S
65 3 9
get_order_currency_symbol()
S
65 3 8
is_listing_form_page()
S
77 3 3
get_decimal_separator()
S
66 3 8
post_content_has_shortcode()
S
73 3 4
get_custom_fields_html()
S
63 3 10
clear_notices()
S
63 3 10
is_rtcl()
S
78 3 3
phone_exists()
S
61 2 12
string_to_timestamp()
S
63 2 11
get_rating_html()
S
61 2 11
get_regular_pricing_options()
S
53 1 24
print_html()
S
69 2 7
get_rounding_precision()
S
68 2 7
get_payment_gateway()
S
64 2 10
get_star_rating_html()
S
61 2 10
get_term_top_most_parent_id()
S
74 2 4
hide_map()
S
78 2 3
the_offline_payment_instructions()
S
73 2 4
get_wp_max_upload()
S
69 2 7
maybe_define_constant()
S
74 2 5
is_enable_terms_conditions()
S
68 2 6
is_ajax()
S
78 2 3
is_gallery_image_required()
S
77 2 3
is_video_urls_disabled()
S
70 2 6
is_video_gallery_disabled()
S
70 2 6
is_description_disabled()
S
70 2 6
is_ad_type_disabled()
S
70 2 6
is_price_type_disabled()
S
70 2 6
is_price_disabled()
S
70 2 6
is_pricing_disabled()
S
70 2 6
is_payment_disabled()
S
70 2 6
delete_post()
S
65 2 9
is_favourites_disabled()
S
70 2 6
get_one_level_categories()
S
73 2 4
get_currency()
S
66 2 8
is_gallery_disabled()
S
70 2 6
get_var()
S
79 2 3
get_listing_first_image_id()
S
65 2 9
get_cf_label()
S
69 2 7
get_status_i18n()
S
73 2 4
meta_exist()
S
70 2 6
is_wc_activated()
S
70 2 6
get_option()
S
68 2 7
is_listings()
S
77 2 3
timezone_offset()
S
64 2 9
strtolower()
S
78 2 3
get_cf_ids_by_cfg_id()
S
60 1 13
get_all_cf_fields_by_cfg_id()
S
61 1 12
allowed_html_for_term_and_conditions()
S
62 1 12
all_ids_for_remove_attachment()
S
62 1 11
get_my_account_page_endpoints()
S
62 1 11
is_field_disabled()
S
78 1 3
is_enable_renew()
S
78 1 3
get_map_data_content()
S
78 1 3
is_enable_favourite()
S
78 1 3
is_listing_taxonomy()
S
79 1 3
is_listing_category()
S
79 1 3
has_map()
S
78 1 3
is_billing_address_disabled()
S
77 1 3
is_enable_business_hours()
S
78 1 3
is_listing()
S
79 1 3
get_checkout_page_endpoints()
S
64 1 9
is_enable_social_profiles()
S
78 1 3
get_compare_limit()
S
77 1 3
is_listings_page()
S
75 1 4
location_type()
S
78 1 3
is_listing_location()
S
79 1 3
is_wc_active()
S
80 1 3
get_map_type()
S
78 1 3
login_form()
S
65 1 9
is_enable_post_for_unregister()
S
79 1 3
get_one_level_locations()
S
78 1 3
is_registration_enabled()
S
78 1 3
is_mysql_date()
S
74 1 4
get_template_html()
S
72 1 5
extend_date_to_end_of_the_day()
S
69 1 6
set_datetime_date()
S
65 1 8
nocache_headers()
S
77 1 4
date_format()
S
78 1 3
doing_it_wrong()
S
74 1 4
of_kses_data()
S
79 1 3
get_listing_image_ids()
S
75 1 4
sanitize_title_with_underscores()
S
77 1 3
get_order_currency()
S
74 1 4
listingFormPhoneIsRequired()
S
79 1 3
password_min_length()
S
78 1 3
get_user_social_profile()
S
77 1 3
get_default_placeholder_url()
S
74 1 4
set_customer_auth_cookie()
S
72 1 5
in_array_any()
S
78 1 3
in_array_all()
S
78 1 3
array_insert()
S
74 1 4
get_temp_listing_status()
S
79 1 3
get_price_decimals()
S
78 1 3
get_default_expired_duration_days()
S
77 1 3
currency_decimal_count()
S
75 1 4
get_max_upload()
S
74 1 4
trim_zeros()
S
73 1 4
formatBytes()
S
69 1 5
format_localized_price()
S
73 1 4
get_formatted_price()
S
74 1 4
is_registration_page_separate()
S
78 1 3
time_format()
S
78 1 3